package com.ruoyi.wm.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 成本核算对象 wm_statistics
 * 
 * @author hpf
 * @date 2021-12-05
 */
public class WmStatistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 药品成本 */
    @Excel(name = "药品成本")
    private BigDecimal medicineValue;

    /** 耗材成本 */
    @Excel(name = "耗材成本")
    private BigDecimal apparatusValue;

    /** 合计成本 */
    @Excel(name = "合计成本")
    private BigDecimal sum;

    /** 月份标识 */
    private String month;

    /** 年份标识 */
    private String year;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMedicineValue(BigDecimal medicineValue) 
    {
        this.medicineValue = medicineValue;
    }

    public BigDecimal getMedicineValue() 
    {
        return medicineValue;
    }
    public void setApparatusValue(BigDecimal apparatusValue) 
    {
        this.apparatusValue = apparatusValue;
    }

    public BigDecimal getApparatusValue() 
    {
        return apparatusValue;
    }
    public void setSum(BigDecimal sum) 
    {
        this.sum = sum;
    }

    public BigDecimal getSum() 
    {
        return sum;
    }
    public void setMonth(String month) 
    {
        this.month = month;
    }

    public String getMonth() 
    {
        return month;
    }
    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("medicineValue", getMedicineValue())
            .append("apparatusValue", getApparatusValue())
            .append("sum", getSum())
            .append("month", getMonth())
            .append("year", getYear())
            .append("createTime", getCreateTime())
            .toString();
    }
}
